<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%><%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add_user.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    
   <form action="/userController/saveU" name="userForm" id="userForm" method="post">
   
   	<select class="chzn-select" name="ROLE_ID" id="role_id" data-placeholder="请选择职位" style="vertical-align:top;">
				<option value=""></option>
				<c:forEach items="${roleList}" var="role">
					<option value="${role.role_id }">${role.role_name }</option>
				</c:forEach>
				</select>
   用户名： <input name="user_name" type="text"></br>
   密码：<input name="password" type="password"><br>
 姓名：<input name="name" type="text"><br>
 邮箱:<input name="email" type="text"><br>
手机号:<input name="phone" type="text">
<input type="submit" value="提交">
   
   </form> 
    
  </body>
</html>
